package com.nlp.service;

import java.io.InputStream;
import java.util.Map;

public interface SummaryService {
	/**
	 * 获取pdf,doc,docx内容摘要
	 * @param language
	 * @param secretkey
	 * @param secretkid
	 * @param fis
	 * @param fileName
	 * @return
	 */
	public String getSummary(String language, String secretkey, 
			String secretkid, InputStream fis, String fileName, String ratio);

	/**
	 * 获取特定格式html内容摘要
	 * @param language 
	 * @param secretkey
	 * @param secretkid
	 * @param uri
	 * @return
	 */
	public Map<String, Map<String, String>> getHtmlSummary(String language, String secretkey, String secretkid, String uri);



	/*
	 * 获取特定格式html内容摘要
	 * @param language
	 * @param secretkey
	 * @param secretkid
	 * @param uri
	 * @return
	* */

//	public Map<String, Map<String, String>> getHtmlSummarys(String language, String secretkey, String secretkid, String uri);



}
